]> dgit.raspbian.org Git - gnome-shell.git/commit
dnd: Set dnd actor size instead of scaling it when reparenting
authorSebastian Keller <skeller@gnome.org>
Mon, 15 Feb 2021 23:54:37 +0000 (00:54 +0100)
committerSebastian Keller <skeller@gnome.org>
Tue, 16 Feb 2021 00:07:23 +0000 (01:07 +0100)
commit629b7394f7cabb2c8ee1c8700c7a9d4050673a13
tree8ec62f35910a7140720c3ceb7f071762af991105
parent87558efbf130ec64b445da808b2bc162aebf352d
dnd: Set dnd actor size instead of scaling it when reparenting

Previously the actor could end up using its natural size and then get
scaled down to its allocation before reparenting. This however could
affect the layout of the widget due to the larger size. To ensure the
widget looks the same after reparenting set the size to its original
size.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3717

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1680>
js/ui/dnd.js